
#encoding=UTF-8

from Error import *
from Building import *

class Laboratory(Building):
	def __init__(self):
		Building.__init__(self)
		self.url = "http://clashofclans.wikia.com/wiki/Laboratory"
		self.number_available_dsec = """
0	 0	1	1	1	1	1	1	1	1
"""
		self.level_info_desc = """
1	250	25,000	30 minutes	42	3
2	270	50,000	5 hours	134	4
3	280	90,000	12 hours	207	5
4	290	270,000	1 day	293	6
5	310	500,000	2 days	415	7
6	330	1,000,000	4 days	587	8
7	350	2,500,000	5 days	657	9
8	350	4,000,000	6 days	720	10
"""
		self._DoParse()

	def _HitPointsIndex(self):
		return 1

	def _BuildCostType(self):
		return 1 #Elixir

	def _BuildCostIndex(self):
		return 2

	def _BuildTimeIndex(self):
		return 3

	def _ExperienceGainedIndex(self):
		return 4

	def _TownHallLevelRequiredIndex(self):
		return 5

